mod padding;
mod compression;

use padding::padding;
use compression::compression;

pub fn sha256(message: &[u8]) -> [u8; 32] {
    compression(padding(message))
} 
